/**
 * 
 */
package com.evaluation.bootstrap;

import java.util.concurrent.TimeUnit;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.util.StopWatch;

import lombok.extern.slf4j.Slf4j;

/**
 * 
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan
@ComponentScan( basePackages = { "com.evaluation" } )
public class EvaluationWebServer {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		StopWatch watch = new StopWatch("Evaluation");
		watch.start("start");

		SpringApplication.run( EvaluationWebServer.class, args );
		
		watch.stop();
		log.info("{}", watch.prettyPrint(TimeUnit.SECONDS));
		

	}

}
